<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>      
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>>"> 
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="css/main1.css">
</head>
<body	style="margin-top: 25px">
	 <!--主体-->
    <div id="main">
    	<div id="left">
        	<div class="notice"> 
            	<div class="title">
                公告栏
                </div>
                <div class="content">
                
                </div>
            </div>
            </div>
        <div id="right">
        <script>
			var index=1;
        	function fun(){
				var img =document.getElementById("img");
			
				
				if(index==5){
					index=1;
					}
				img.src="img/room_"+index+".jpg";
				index++;	
				}
				setInterval("fun()",2000);
                </script>
        <img id="img" src="img/room_1.jpg">
        </div>

    
    </div>
    <!--主体END-->
    
</body>
</html>